{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/AliceZhang/Dropbox/Research_Columbia/Renewables Voting (Urpelainen Zhang)/JOP/UZ_JOP2021_Replication/Analysis/logSTATA/009_analysis_CCES.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 6 Nov 2021, 20:34:10
{txt}
{com}. 
. 
. *******************************************************************************
. /*                                        URPELAINEN & ZHANG 2021                                                */
. *******************************************************************************
. 
. /* 
> 
> File Name:      009_analysis_CCES.do
> 
> By:                             Alice Tianbo Zhang (alice.tianbo.zhang@gmail.com)
> 
> Last Edited:    10/14/2021
> 
> Purpose:                
> 
> Data Used:      votes_wind_panel_CCES.dta
> 
> Program Used:   - reghdfe -
> 
> */
. 
. 
. *******************************************************************************
. /*                                              TABLE A22                                                            */
. *******************************************************************************
. cd "$rootDir/$dataDir/Final"
{res}/Users/AliceZhang/Dropbox/Research_Columbia/Renewables Voting (Urpelainen Zhang)/JOP/UZ_JOP2021_Replication/Data/Final
{txt}
{com}. use votes_wind_panel_CCES.dta, clear
{txt}
{com}. 
. ** Create instrument and fixed effects
. gen t = year - 2006
{txt}
{com}. gen inter = t * mean_wp
{txt}
{com}. 
. egen stateyear_fixed = group(state year)
{txt}
{com}. egen district_fixed = group(state district)
{txt}
{com}. 
. gen cum_lncapacity_turbine = log(cum_capacity_turbine + 1)
{txt}
{com}. gen cum_lncount_turbine = log(cum_count_turbine + 1 )
{txt}
{com}. 
. rename env_job_ord envOrd_job
{res}{txt}
{com}. rename gw_opinion_ord gwOrd_opinion
{res}{txt}
{com}. rename ideo_self libOrd_ideo
{res}{txt}
{com}. rename d_liberal lib_ideo
{res}{txt}
{com}. 
. 
. *------------ Main results: By pro- or anti- environmental voting ------------*
. local outcome env_job gw_opinion envOrd_job gwOrd_opinion libOrd_ideo lib_ideo // outcome variable 
{txt}
{com}. local endogenous cum_capacity_turbine cum_count_turbine cum_lncapacity_turbine cum_lncount_turbine // endogenous variable
{txt}
{com}. local instrument inter // instrument
{txt}
{com}. local admin1_trend stateyear_fixed // geography * time trend
{txt}
{com}. local admin2 district_fixed // panel unit (cluster variable)
{txt}
{com}. 
. /* List of variables:
>                 
>   1. outcome            - dependent variable
>   2. endogenous         - independent variable (endogeous) to be instrumented
>   3. instrument         - instrument
>   4. admin1_trend       - admin1-specific time trend (i.e. state by year fixed effect) 
>   5. admin2             - panel unit and cluster variable (i.e congressional district fixed effect)
> 
> */
. 
. foreach y in `outcome' {c -(}
{txt}  2{com}.         // Create outcome variable label for storing estimates
.         tokenize "`y'", parse("_")
{txt}  3{com}.         local y_name "`1'"
{txt}  4{com}.         di "`y_name'"
{txt}  5{com}.         
.         foreach x in `endogenous' {c -(}
{txt}  6{com}.                         // Create endogenous variable label for storing estimates
.                         tokenize "`x'", parse("_")
{txt}  7{com}.                         local x_name "`3'"
{txt}  8{com}.                         di "`x_name'"
{txt}  9{com}.                         
.                         // Run IV regression
.                         reghdfe `y' (`x' = `instrument'), absorb(`admin1_trend' `admin2') ffirst stages(first ols reduced) vce(cluster `admin2') old
{txt} 10{com}.                         
.                         // Store IV, first stage, OLS, reduced form estimates
.                         estimates store `y_name'_`x_name'_iv
{txt} 11{com}.                         estimates restore reghdfe_first1
{txt} 12{com}.                         estimates store `y_name'_`x_name'_first
{txt} 13{com}.                         estimates restore reghdfe_ols
{txt} 14{com}.                         estimates store `y_name'_`x_name'_ols
{txt} 15{com}.                         estimates restore reghdfe_reduced
{txt} 16{com}.                         estimates store `y_name'_`x_name'_reduced
{txt} 17{com}.                 {c )-}
{txt} 18{com}. {c )-}
env
capacity
{err}(running historical version of reghdfe)
{res}{txt}(converged in 3 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_capacity_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     17.12
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.7986
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7175
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1319
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}  127.1585

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_capaci~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 51.25196{col 26}{space 2} 12.38819{col 37}{space 1}    4.14{col 46}{space 3}0.000{col 54}{space 4} 26.86837{col 67}{space 3} 75.63554
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          125             125              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.11
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.7358
{txt}{col 51}R-squared{col 67}= {res}    0.6880
{txt}{col 51}Adj R-squared{col 67}= {res}    0.5622
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0001
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0685

{txt}{ralign 86:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}             env_job{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2}-5.55e-06{col 34}{space 2} .0000164{col 45}{space 1}   -0.34{col 54}{space 3}0.736{col 62}{space 4}-.0000379{col 75}{space 3} .0000268
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}          125             125              0     {c |} 
      district_fixed {c |}            0             287            287 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      2.48
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.1163
{txt}{col 51}R-squared{col 67}= {res}    0.6887
{txt}{col 51}Adj R-squared{col 67}= {res}    0.5633
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0026
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0684

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}     env_job{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2}-.0036381{col 26}{space 2} .0023093{col 37}{space 1}   -1.58{col 46}{space 3}0.116{col 54}{space 4}-.0081835{col 67}{space 3} .0009074
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          125             125              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_capacity{col 14}{txt}|{col 18}{res}   17.12{col 28}  0.0000{col 37}{txt}|{col 42}{res}   18.82{col 51}  0.0000{col 60}{txt}|{col 65}{res}   17.12

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}13.83  {col 61}{txt}P-val={res}0.0002

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}  198.83
Kleibergen-Paap Wald rk F statistic{col 65}   17.12

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   2.48{col 61}{txt}P-val={res}0.1163
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   2.73{col 61}{txt}P-val={res}0.0986
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   2.78{col 61}{txt}P-val={res}0.0955

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      1435
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    1435
{txt}{col 55}F(  1,   286) = {res}    2.21
{txt}{col 55}Prob > F      = {res}  0.1385
{txt}Total (centered) SS     = {res} 4.796233131{txt}{col 55}Centered R2   = {res}  0.6827
{txt}Total (uncentered) SS   = {res} 4.796233131{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 4.877149667{txt}{col 55}Root MSE      = {res}  .06908

{txt}{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}             env_job{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2} -.000071{col 34}{space 2} .0000478{col 45}{space 1}   -1.49{col 54}{space 3}0.138{col 62}{space 4} -.000165{col 75}{space 3} .0000231
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  13.825
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0002
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71} 198.827
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  17.116
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_capacity_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}          125             125              0     {c |} 
      district_fixed {c |}            0             287            287 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
count
{err}(running historical version of reghdfe)
{res}{txt}(converged in 3 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_count_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     17.62
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.9811
{txt}{col 51}Adj R-squared{col 67}= {res}    0.9735
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1391
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}   67.9855

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_count_~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 28.26448{col 26}{space 2} 6.732803{col 37}{space 1}    4.20{col 46}{space 3}0.000{col 54}{space 4} 15.01235{col 67}{space 3} 41.51661
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          125             125              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.16
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.6916
{txt}{col 51}R-squared{col 67}= {res}    0.6880
{txt}{col 51}Adj R-squared{col 67}= {res}    0.5622
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0002
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0685

{txt}{ralign 83:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}          env_job{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2} -.000013{col 31}{space 2} .0000326{col 42}{space 1}   -0.40{col 51}{space 3}0.692{col 59}{space 4}-.0000772{col 72}{space 3} .0000513
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}          125             125              0     {c |} 
   district_fixed {c |}            0             287            287 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      2.48
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.1163
{txt}{col 51}R-squared{col 67}= {res}    0.6887
{txt}{col 51}Adj R-squared{col 67}= {res}    0.5633
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0026
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0684

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}     env_job{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2}-.0036381{col 26}{space 2} .0023093{col 37}{space 1}   -1.58{col 46}{space 3}0.116{col 54}{space 4}-.0081835{col 67}{space 3} .0009074
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          125             125              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_count_tu{col 14}{txt}|{col 18}{res}   17.62{col 28}  0.0000{col 37}{txt}|{col 42}{res}   19.37{col 51}  0.0000{col 60}{txt}|{col 65}{res}   17.62

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}14.08  {col 61}{txt}P-val={res}0.0002

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}  211.54
Kleibergen-Paap Wald rk F statistic{col 65}   17.62

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   2.48{col 61}{txt}P-val={res}0.1163
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   2.73{col 61}{txt}P-val={res}0.0986
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   2.78{col 61}{txt}P-val={res}0.0955

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      1435
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    1435
{txt}{col 55}F(  1,   286) = {res}    2.23
{txt}{col 55}Prob > F      = {res}  0.1368
{txt}Total (centered) SS     = {res} 4.796233131{txt}{col 55}Centered R2   = {res}  0.6832
{txt}Total (uncentered) SS   = {res} 4.796233131{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 4.868834873{txt}{col 55}Root MSE      = {res}  .06902

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}          env_job{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2}-.0001287{col 31}{space 2} .0000863{col 42}{space 1}   -1.49{col 51}{space 3}0.137{col 59}{space 4}-.0002985{col 72}{space 3} .0000411
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  14.081
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0002
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71} 211.541
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  17.623
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_count_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}          125             125              0     {c |} 
   district_fixed {c |}            0             287            287 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
lncapacity
{err}(running historical version of reghdfe)
{res}{txt}(converged in 3 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_lncapacity_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     25.47
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.8899
{txt}{col 51}Adj R-squared{col 67}= {res}    0.8455
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0408
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.7404

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_lncapa~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .1579735{col 26}{space 2} .0313008{col 37}{space 1}    5.05{col 46}{space 3}0.000{col 54}{space 4} .0963644{col 67}{space 3} .2195826
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          125             125              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.60
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.4374
{txt}{col 51}R-squared{col 67}= {res}    0.6881
{txt}{col 51}Adj R-squared{col 67}= {res}    0.5623
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0005
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0685

{txt}{ralign 88:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}               env_job{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncapacity_turbine {c |}{col 24}{res}{space 2}-.0019284{col 36}{space 2} .0024799{col 47}{space 1}   -0.78{col 56}{space 3}0.437{col 64}{space 4}-.0068096{col 77}{space 3} .0029528
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 23}{c TT}{hline 49}{c TRC}
           Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 23}{c +}{hline 49}{c RT}
       stateyear_fixed {c |}          125             125              0     {c |} 
        district_fixed {c |}            0             287            287 *   {c |} 
{hline 23}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      2.48
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.1163
{txt}{col 51}R-squared{col 67}= {res}    0.6887
{txt}{col 51}Adj R-squared{col 67}= {res}    0.5633
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0026
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0684

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}     env_job{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2}-.0036381{col 26}{space 2} .0023093{col 37}{space 1}   -1.58{col 46}{space 3}0.116{col 54}{space 4}-.0081835{col 67}{space 3} .0009074
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          125             125              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_lncapaci{col 14}{txt}|{col 18}{res}   25.47{col 28}  0.0000{col 37}{txt}|{col 42}{res}   28.00{col 51}  0.0000{col 60}{txt}|{col 65}{res}   25.47

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}28.21  {col 61}{txt}P-val={res}0.0000

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}   55.71
Kleibergen-Paap Wald rk F statistic{col 65}   25.47

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   2.48{col 61}{txt}P-val={res}0.1163
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   2.73{col 61}{txt}P-val={res}0.0986
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   2.78{col 61}{txt}P-val={res}0.0955

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      1435
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    1435
{txt}{col 55}F(  1,   286) = {res}    2.34
{txt}{col 55}Prob > F      = {res}  0.1269
{txt}Total (centered) SS     = {res} 4.796233131{txt}{col 55}Centered R2   = {res}  0.6711
{txt}Total (uncentered) SS   = {res} 4.796233131{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 5.054148098{txt}{col 55}Root MSE      = {res}  .07032

{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}               env_job{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncapacity_turbine {c |}{col 24}{res}{space 2}-.0230297{col 36}{space 2} .0150434{col 47}{space 1}   -1.53{col 56}{space 3}0.127{col 64}{space 4}-.0526396{col 77}{space 3} .0065802
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  28.213
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0000
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71}  55.714
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  25.472
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_lncapacity_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 23}{c TT}{hline 49}{c TRC}
           Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 23}{c +}{hline 49}{c RT}
       stateyear_fixed {c |}          125             125              0     {c |} 
        district_fixed {c |}            0             287            287 *   {c |} 
{hline 23}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
lncount
{err}(running historical version of reghdfe)
{res}{txt}(converged in 3 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_lncount_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     25.88
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.9183
{txt}{col 51}Adj R-squared{col 67}= {res}    0.8854
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0432
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.6401

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_lncoun~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2}  .140593{col 26}{space 2} .0276362{col 37}{space 1}    5.09{col 46}{space 3}0.000{col 54}{space 4} .0861969{col 67}{space 3} .1949892
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          125             125              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.75
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.3866
{txt}{col 51}R-squared{col 67}= {res}    0.6881
{txt}{col 51}Adj R-squared{col 67}= {res}    0.5624
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0006
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0685

{txt}{ralign 85:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}            env_job{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      t{col 53}   P>|t|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncount_turbine {c |}{col 21}{res}{space 2}-.0024656{col 33}{space 2} .0028437{col 44}{space 1}   -0.87{col 53}{space 3}0.387{col 61}{space 4}-.0080628{col 74}{space 3} .0031315
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 20}{c TT}{hline 49}{c TRC}
        Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 20}{c +}{hline 49}{c RT}
    stateyear_fixed {c |}          125             125              0     {c |} 
     district_fixed {c |}            0             287            287 *   {c |} 
{hline 20}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      2.48
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.1163
{txt}{col 51}R-squared{col 67}= {res}    0.6887
{txt}{col 51}Adj R-squared{col 67}= {res}    0.5633
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0026
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0684

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}     env_job{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2}-.0036381{col 26}{space 2} .0023093{col 37}{space 1}   -1.58{col 46}{space 3}0.116{col 54}{space 4}-.0081835{col 67}{space 3} .0009074
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          125             125              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_lncount_{col 14}{txt}|{col 18}{res}   25.88{col 28}  0.0000{col 37}{txt}|{col 42}{res}   28.45{col 51}  0.0000{col 60}{txt}|{col 65}{res}   25.88

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}28.56  {col 61}{txt}P-val={res}0.0000

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}   59.05
Kleibergen-Paap Wald rk F statistic{col 65}   25.88

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   2.48{col 61}{txt}P-val={res}0.1163
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   2.73{col 61}{txt}P-val={res}0.0986
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   2.78{col 61}{txt}P-val={res}0.0955

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      1435
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    1435
{txt}{col 55}F(  1,   286) = {res}    2.35
{txt}{col 55}Prob > F      = {res}  0.1262
{txt}Total (centered) SS     = {res} 4.796233131{txt}{col 55}Centered R2   = {res}  0.6725
{txt}Total (uncentered) SS   = {res} 4.796233131{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 5.033398583{txt}{col 55}Root MSE      = {res}  .07018

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}            env_job{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      t{col 53}   P>|t|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncount_turbine {c |}{col 21}{res}{space 2}-.0258767{col 33}{space 2} .0168739{col 44}{space 1}   -1.53{col 53}{space 3}0.126{col 61}{space 4}-.0590895{col 74}{space 3}  .007336
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  28.563
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0000
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71}  59.052
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  25.880
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_lncount_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 20}{c TT}{hline 49}{c TRC}
        Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 20}{c +}{hline 49}{c RT}
    stateyear_fixed {c |}          125             125              0     {c |} 
     district_fixed {c |}            0             287            287 *   {c |} 
{hline 20}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
gw
capacity
{err}(running historical version of reghdfe)
{res}{txt}(converged in 4 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_capacity_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     17.56
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.8387
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7837
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1240
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}  119.8949

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_capaci~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 48.63684{col 26}{space 2} 11.60661{col 37}{space 1}    4.19{col 46}{space 3}0.000{col 54}{space 4} 25.79163{col 67}{space 3} 71.48205
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          150             150              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.14
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.7075
{txt}{col 51}R-squared{col 67}= {res}    0.6231
{txt}{col 51}Adj R-squared{col 67}= {res}    0.4947
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0001
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0948

{txt}{ralign 86:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}          gw_opinion{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2}-6.04e-06{col 34}{space 2} .0000161{col 45}{space 1}   -0.38{col 54}{space 3}0.708{col 62}{space 4}-.0000377{col 75}{space 3} .0000256
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}          150             150              0     {c |} 
      district_fixed {c |}            0             287            287 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.57
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.4506
{txt}{col 51}R-squared{col 67}= {res}    0.6233
{txt}{col 51}Adj R-squared{col 67}= {res}    0.4950
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0007
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0947

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}  gw_opinion{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .0027792{col 26}{space 2} .0036786{col 37}{space 1}    0.76{col 46}{space 3}0.451{col 54}{space 4}-.0044615{col 67}{space 3} .0100198
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          150             150              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_capacity{col 14}{txt}|{col 18}{res}   17.56{col 28}  0.0000{col 37}{txt}|{col 42}{res}   19.30{col 51}  0.0000{col 60}{txt}|{col 65}{res}   17.56

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}14.23  {col 61}{txt}P-val={res}0.0002

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}  222.30
Kleibergen-Paap Wald rk F statistic{col 65}   17.56

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.57{col 61}{txt}P-val={res}0.4506
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.63{col 61}{txt}P-val={res}0.4283
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.60{col 61}{txt}P-val={res}0.4396

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      1721
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    1721
{txt}{col 55}F(  1,   286) = {res}    0.53
{txt}{col 55}Prob > F      = {res}  0.4651
{txt}Total (centered) SS     = {res} 11.52538784{txt}{col 55}Centered R2   = {res}  0.6203
{txt}Total (uncentered) SS   = {res} 11.52538784{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 11.60865992{txt}{col 55}Root MSE      = {res}  .09512

{txt}{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}          gw_opinion{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2} .0000571{col 34}{space 2} .0000781{col 45}{space 1}    0.73{col 54}{space 3}0.465{col 62}{space 4}-.0000966{col 75}{space 3} .0002109
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  14.225
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0002
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71} 222.297
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  17.560
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_capacity_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}          150             150              0     {c |} 
      district_fixed {c |}            0             287            287 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
count
{err}(running historical version of reghdfe)
{res}{txt}(converged in 4 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_count_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     17.78
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.9829
{txt}{col 51}Adj R-squared{col 67}= {res}    0.9771
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1303
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}   64.3022

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_count_~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 26.83101{col 26}{space 2} 6.363149{col 37}{space 1}    4.22{col 46}{space 3}0.000{col 54}{space 4} 14.30647{col 67}{space 3} 39.35555
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          150             150              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.07
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.7878
{txt}{col 51}R-squared{col 67}= {res}    0.6230
{txt}{col 51}Adj R-squared{col 67}= {res}    0.4947
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0000
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0948

{txt}{ralign 83:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}       gw_opinion{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2}-8.71e-06{col 31}{space 2} .0000323{col 42}{space 1}   -0.27{col 51}{space 3}0.788{col 59}{space 4}-.0000724{col 72}{space 3} .0000549
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}          150             150              0     {c |} 
   district_fixed {c |}            0             287            287 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.57
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.4506
{txt}{col 51}R-squared{col 67}= {res}    0.6233
{txt}{col 51}Adj R-squared{col 67}= {res}    0.4950
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0007
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0947

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}  gw_opinion{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .0027792{col 26}{space 2} .0036786{col 37}{space 1}    0.76{col 46}{space 3}0.451{col 54}{space 4}-.0044615{col 67}{space 3} .0100198
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          150             150              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_count_tu{col 14}{txt}|{col 18}{res}   17.78{col 28}  0.0000{col 37}{txt}|{col 42}{res}   19.55{col 51}  0.0000{col 60}{txt}|{col 65}{res}   17.78

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}14.28  {col 61}{txt}P-val={res}0.0002

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}  235.19
Kleibergen-Paap Wald rk F statistic{col 65}   17.78

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.57{col 61}{txt}P-val={res}0.4506
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.63{col 61}{txt}P-val={res}0.4283
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.60{col 61}{txt}P-val={res}0.4396

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      1721
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    1721
{txt}{col 55}F(  1,   286) = {res}    0.54
{txt}{col 55}Prob > F      = {res}  0.4636
{txt}Total (centered) SS     = {res} 11.52538784{txt}{col 55}Centered R2   = {res}  0.6205
{txt}Total (uncentered) SS   = {res} 11.52538784{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 11.60183948{txt}{col 55}Root MSE      = {res}  .09509

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}       gw_opinion{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2} .0001036{col 31}{space 2} .0001411{col 42}{space 1}    0.73{col 51}{space 3}0.464{col 59}{space 4}-.0001742{col 72}{space 3} .0003814
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  14.285
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0002
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71} 235.194
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  17.780
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_count_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}          150             150              0     {c |} 
   district_fixed {c |}            0             287            287 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
lncapacity
{err}(running historical version of reghdfe)
{res}{txt}(converged in 4 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_lncapacity_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     24.77
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.8994
{txt}{col 51}Adj R-squared{col 67}= {res}    0.8651
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0383
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.7194

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_lncapa~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .1548076{col 26}{space 2} .0311079{col 37}{space 1}    4.98{col 46}{space 3}0.000{col 54}{space 4} .0935782{col 67}{space 3} .2160369
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          150             150              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.00
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.9811
{txt}{col 51}R-squared{col 67}= {res}    0.6230
{txt}{col 51}Adj R-squared{col 67}= {res}    0.4946
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0000
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0948

{txt}{ralign 88:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}            gw_opinion{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncapacity_turbine {c |}{col 24}{res}{space 2}-.0000768{col 36}{space 2} .0032359{col 47}{space 1}   -0.02{col 56}{space 3}0.981{col 64}{space 4}-.0064461{col 77}{space 3} .0062924
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 23}{c TT}{hline 49}{c TRC}
           Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 23}{c +}{hline 49}{c RT}
       stateyear_fixed {c |}          150             150              0     {c |} 
        district_fixed {c |}            0             287            287 *   {c |} 
{hline 23}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.57
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.4506
{txt}{col 51}R-squared{col 67}= {res}    0.6233
{txt}{col 51}Adj R-squared{col 67}= {res}    0.4950
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0007
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0947

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}  gw_opinion{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .0027792{col 26}{space 2} .0036786{col 37}{space 1}    0.76{col 46}{space 3}0.451{col 54}{space 4}-.0044615{col 67}{space 3} .0100198
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          150             150              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_lncapaci{col 14}{txt}|{col 18}{res}   24.77{col 28}  0.0000{col 37}{txt}|{col 42}{res}   27.23{col 51}  0.0000{col 60}{txt}|{col 65}{res}   24.77

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}27.49  {col 61}{txt}P-val={res}0.0000

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}   62.55
Kleibergen-Paap Wald rk F statistic{col 65}   24.77

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.57{col 61}{txt}P-val={res}0.4506
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.63{col 61}{txt}P-val={res}0.4283
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.60{col 61}{txt}P-val={res}0.4396

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      1721
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    1721
{txt}{col 55}F(  1,   286) = {res}    0.52
{txt}{col 55}Prob > F      = {res}  0.4712
{txt}Total (centered) SS     = {res} 11.52538784{txt}{col 55}Centered R2   = {res}  0.6157
{txt}Total (uncentered) SS   = {res} 11.52538784{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 11.74983165{txt}{col 55}Root MSE      = {res}   .0957

{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}            gw_opinion{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncapacity_turbine {c |}{col 24}{res}{space 2} .0179524{col 36}{space 2} .0248831{col 47}{space 1}    0.72{col 56}{space 3}0.471{col 64}{space 4}-.0310249{col 77}{space 3} .0669297
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  27.486
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0000
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71}  62.549
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  24.765
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_lncapacity_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 23}{c TT}{hline 49}{c TRC}
           Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 23}{c +}{hline 49}{c RT}
       stateyear_fixed {c |}          150             150              0     {c |} 
        district_fixed {c |}            0             287            287 *   {c |} 
{hline 23}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
lncount
{err}(running historical version of reghdfe)
{res}{txt}(converged in 4 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_lncount_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     25.29
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.9237
{txt}{col 51}Adj R-squared{col 67}= {res}    0.8978
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0404
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.6217

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_lncoun~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .1376013{col 26}{space 2} .0273607{col 37}{space 1}    5.03{col 46}{space 3}0.000{col 54}{space 4} .0837474{col 67}{space 3} .1914551
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          150             150              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.01
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.9355
{txt}{col 51}R-squared{col 67}= {res}    0.6230
{txt}{col 51}Adj R-squared{col 67}= {res}    0.4946
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0000
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0948

{txt}{ralign 85:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}         gw_opinion{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      t{col 53}   P>|t|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncount_turbine {c |}{col 21}{res}{space 2} -.000305{col 33}{space 2} .0037642{col 44}{space 1}   -0.08{col 53}{space 3}0.935{col 61}{space 4} -.007714{col 74}{space 3}  .007104
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 20}{c TT}{hline 49}{c TRC}
        Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 20}{c +}{hline 49}{c RT}
    stateyear_fixed {c |}          150             150              0     {c |} 
     district_fixed {c |}            0             287            287 *   {c |} 
{hline 20}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.57
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.4506
{txt}{col 51}R-squared{col 67}= {res}    0.6233
{txt}{col 51}Adj R-squared{col 67}= {res}    0.4950
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0007
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0947

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}  gw_opinion{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .0027792{col 26}{space 2} .0036786{col 37}{space 1}    0.76{col 46}{space 3}0.451{col 54}{space 4}-.0044615{col 67}{space 3} .0100198
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          150             150              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_lncount_{col 14}{txt}|{col 18}{res}   25.29{col 28}  0.0000{col 37}{txt}|{col 42}{res}   27.81{col 51}  0.0000{col 60}{txt}|{col 65}{res}   25.29

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}27.90  {col 61}{txt}P-val={res}0.0000

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}   66.18
Kleibergen-Paap Wald rk F statistic{col 65}   25.29

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.57{col 61}{txt}P-val={res}0.4506
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.63{col 61}{txt}P-val={res}0.4283
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.60{col 61}{txt}P-val={res}0.4396

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      1721
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    1721
{txt}{col 55}F(  1,   286) = {res}    0.52
{txt}{col 55}Prob > F      = {res}  0.4707
{txt}Total (centered) SS     = {res} 11.52538784{txt}{col 55}Centered R2   = {res}  0.6159
{txt}Total (uncentered) SS   = {res} 11.52538784{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 11.74256264{txt}{col 55}Root MSE      = {res}  .09567

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}         gw_opinion{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      t{col 53}   P>|t|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncount_turbine {c |}{col 21}{res}{space 2} .0201973{col 33}{space 2} .0279625{col 44}{space 1}    0.72{col 53}{space 3}0.471{col 61}{space 4}-.0348412{col 74}{space 3} .0752358
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  27.898
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0000
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71}  66.176
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  25.292
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_lncount_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 20}{c TT}{hline 49}{c TRC}
        Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 20}{c +}{hline 49}{c RT}
    stateyear_fixed {c |}          150             150              0     {c |} 
     district_fixed {c |}            0             287            287 *   {c |} 
{hline 20}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
envOrd
capacity
{err}(running historical version of reghdfe)
{res}{txt}(converged in 3 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_capacity_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     17.12
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.7986
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7175
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1319
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}  127.1585

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_capaci~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 51.25196{col 26}{space 2} 12.38819{col 37}{space 1}    4.14{col 46}{space 3}0.000{col 54}{space 4} 26.86837{col 67}{space 3} 75.63554
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          125             125              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.61
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.4371
{txt}{col 51}R-squared{col 67}= {res}    0.8252
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7548
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0006
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.1819

{txt}{ralign 86:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}          envOrd_job{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2} .0000322{col 34}{space 2} .0000413{col 45}{space 1}    0.78{col 54}{space 3}0.437{col 62}{space 4}-.0000492{col 75}{space 3} .0001135
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}          125             125              0     {c |} 
      district_fixed {c |}            0             287            287 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.56
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.4536
{txt}{col 51}R-squared{col 67}= {res}    0.8252
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7548
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0006
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.1819

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}  envOrd_job{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2}-.0045843{col 26}{space 2} .0061091{col 37}{space 1}   -0.75{col 46}{space 3}0.454{col 54}{space 4}-.0166089{col 67}{space 3} .0074403
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          125             125              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_capacity{col 14}{txt}|{col 18}{res}   17.12{col 28}  0.0000{col 37}{txt}|{col 42}{res}   18.82{col 51}  0.0000{col 60}{txt}|{col 65}{res}   17.12

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}13.83  {col 61}{txt}P-val={res}0.0002

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}  198.83
Kleibergen-Paap Wald rk F statistic{col 65}   17.12

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.56{col 61}{txt}P-val={res}0.4536
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.62{col 61}{txt}P-val={res}0.4314
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.62{col 61}{txt}P-val={res}0.4320

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      1435
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    1435
{txt}{col 55}F(  1,   286) = {res}    0.53
{txt}{col 55}Prob > F      = {res}  0.4660
{txt}Total (centered) SS     = {res} 33.81703667{txt}{col 55}Centered R2   = {res}  0.8238
{txt}Total (uncentered) SS   = {res} 33.81703667{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 34.07883802{txt}{col 55}Root MSE      = {res}   .1826

{txt}{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}          envOrd_job{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2}-.0000894{col 34}{space 2} .0001225{col 45}{space 1}   -0.73{col 54}{space 3}0.466{col 62}{space 4}-.0003306{col 75}{space 3} .0001517
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  13.825
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0002
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71} 198.827
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  17.116
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_capacity_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}          125             125              0     {c |} 
      district_fixed {c |}            0             287            287 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
count
{err}(running historical version of reghdfe)
{res}{txt}(converged in 3 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_count_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     17.62
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.9811
{txt}{col 51}Adj R-squared{col 67}= {res}    0.9735
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1391
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}   67.9855

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_count_~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 28.26448{col 26}{space 2} 6.732803{col 37}{space 1}    4.20{col 46}{space 3}0.000{col 54}{space 4} 15.01235{col 67}{space 3} 41.51661
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          125             125              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.47
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.4934
{txt}{col 51}R-squared{col 67}= {res}    0.8252
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7547
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0005
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.1819

{txt}{ralign 83:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}       envOrd_job{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2} .0000553{col 31}{space 2} .0000806{col 42}{space 1}    0.69{col 51}{space 3}0.493{col 59}{space 4}-.0001034{col 72}{space 3}  .000214
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}          125             125              0     {c |} 
   district_fixed {c |}            0             287            287 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.56
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.4536
{txt}{col 51}R-squared{col 67}= {res}    0.8252
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7548
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0006
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.1819

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}  envOrd_job{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2}-.0045843{col 26}{space 2} .0061091{col 37}{space 1}   -0.75{col 46}{space 3}0.454{col 54}{space 4}-.0166089{col 67}{space 3} .0074403
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          125             125              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_count_tu{col 14}{txt}|{col 18}{res}   17.62{col 28}  0.0000{col 37}{txt}|{col 42}{res}   19.37{col 51}  0.0000{col 60}{txt}|{col 65}{res}   17.62

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}14.08  {col 61}{txt}P-val={res}0.0002

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}  211.54
Kleibergen-Paap Wald rk F statistic{col 65}   17.62

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.56{col 61}{txt}P-val={res}0.4536
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.62{col 61}{txt}P-val={res}0.4314
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.62{col 61}{txt}P-val={res}0.4320

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      1435
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    1435
{txt}{col 55}F(  1,   286) = {res}    0.53
{txt}{col 55}Prob > F      = {res}  0.4656
{txt}Total (centered) SS     = {res} 33.81703667{txt}{col 55}Centered R2   = {res}  0.8239
{txt}Total (uncentered) SS   = {res} 33.81703667{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 34.05979155{txt}{col 55}Root MSE      = {res}   .1826

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}       envOrd_job{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2}-.0001622{col 31}{space 2}  .000222{col 42}{space 1}   -0.73{col 51}{space 3}0.466{col 59}{space 4}-.0005992{col 72}{space 3} .0002748
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  14.081
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0002
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71} 211.541
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  17.623
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_count_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}          125             125              0     {c |} 
   district_fixed {c |}            0             287            287 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
lncapacity
{err}(running historical version of reghdfe)
{res}{txt}(converged in 3 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_lncapacity_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     25.47
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.8899
{txt}{col 51}Adj R-squared{col 67}= {res}    0.8455
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0408
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.7404

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_lncapa~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .1579735{col 26}{space 2} .0313008{col 37}{space 1}    5.05{col 46}{space 3}0.000{col 54}{space 4} .0963644{col 67}{space 3} .2195826
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          125             125              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.95
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.3317
{txt}{col 51}R-squared{col 67}= {res}    0.8252
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7548
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0006
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.1819

{txt}{ralign 88:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}            envOrd_job{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncapacity_turbine {c |}{col 24}{res}{space 2} .0057285{col 36}{space 2} .0058916{col 47}{space 1}    0.97{col 56}{space 3}0.332{col 64}{space 4}-.0058679{col 77}{space 3} .0173249
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 23}{c TT}{hline 49}{c TRC}
           Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 23}{c +}{hline 49}{c RT}
       stateyear_fixed {c |}          125             125              0     {c |} 
        district_fixed {c |}            0             287            287 *   {c |} 
{hline 23}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.56
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.4536
{txt}{col 51}R-squared{col 67}= {res}    0.8252
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7548
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0006
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.1819

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}  envOrd_job{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2}-.0045843{col 26}{space 2} .0061091{col 37}{space 1}   -0.75{col 46}{space 3}0.454{col 54}{space 4}-.0166089{col 67}{space 3} .0074403
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          125             125              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_lncapaci{col 14}{txt}|{col 18}{res}   25.47{col 28}  0.0000{col 37}{txt}|{col 42}{res}   28.00{col 51}  0.0000{col 60}{txt}|{col 65}{res}   25.47

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}28.21  {col 61}{txt}P-val={res}0.0000

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}   55.71
Kleibergen-Paap Wald rk F statistic{col 65}   25.47

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.56{col 61}{txt}P-val={res}0.4536
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.62{col 61}{txt}P-val={res}0.4314
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.62{col 61}{txt}P-val={res}0.4320

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      1435
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    1435
{txt}{col 55}F(  1,   286) = {res}    0.55
{txt}{col 55}Prob > F      = {res}  0.4597
{txt}Total (centered) SS     = {res} 33.81703667{txt}{col 55}Centered R2   = {res}  0.8216
{txt}Total (uncentered) SS   = {res} 33.81703667{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 34.50314259{txt}{col 55}Root MSE      = {res}   .1837

{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}            envOrd_job{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncapacity_turbine {c |}{col 24}{res}{space 2}-.0290194{col 36}{space 2} .0391962{col 47}{space 1}   -0.74{col 56}{space 3}0.460{col 64}{space 4} -.106169{col 77}{space 3} .0481302
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  28.213
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0000
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71}  55.714
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  25.472
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_lncapacity_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 23}{c TT}{hline 49}{c TRC}
           Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 23}{c +}{hline 49}{c RT}
       stateyear_fixed {c |}          125             125              0     {c |} 
        district_fixed {c |}            0             287            287 *   {c |} 
{hline 23}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
lncount
{err}(running historical version of reghdfe)
{res}{txt}(converged in 3 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_lncount_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     25.88
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.9183
{txt}{col 51}Adj R-squared{col 67}= {res}    0.8854
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0432
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.6401

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_lncoun~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2}  .140593{col 26}{space 2} .0276362{col 37}{space 1}    5.09{col 46}{space 3}0.000{col 54}{space 4} .0861969{col 67}{space 3} .1949892
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          125             125              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.68
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.4117
{txt}{col 51}R-squared{col 67}= {res}    0.8252
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7547
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0004
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.1819

{txt}{ralign 85:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}         envOrd_job{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      t{col 53}   P>|t|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncount_turbine {c |}{col 21}{res}{space 2} .0054833{col 33}{space 2} .0066692{col 44}{space 1}    0.82{col 53}{space 3}0.412{col 61}{space 4}-.0076437{col 74}{space 3} .0186102
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 20}{c TT}{hline 49}{c TRC}
        Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 20}{c +}{hline 49}{c RT}
    stateyear_fixed {c |}          125             125              0     {c |} 
     district_fixed {c |}            0             287            287 *   {c |} 
{hline 20}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,435
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.56
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.4536
{txt}{col 51}R-squared{col 67}= {res}    0.8252
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7548
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0006
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.1819

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}  envOrd_job{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2}-.0045843{col 26}{space 2} .0061091{col 37}{space 1}   -0.75{col 46}{space 3}0.454{col 54}{space 4}-.0166089{col 67}{space 3} .0074403
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          125             125              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_lncount_{col 14}{txt}|{col 18}{res}   25.88{col 28}  0.0000{col 37}{txt}|{col 42}{res}   28.45{col 51}  0.0000{col 60}{txt}|{col 65}{res}   25.88

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}28.56  {col 61}{txt}P-val={res}0.0000

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}   59.05
Kleibergen-Paap Wald rk F statistic{col 65}   25.88

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.56{col 61}{txt}P-val={res}0.4536
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.62{col 61}{txt}P-val={res}0.4314
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.62{col 61}{txt}P-val={res}0.4320

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      1435
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    1435
{txt}{col 55}F(  1,   286) = {res}    0.55
{txt}{col 55}Prob > F      = {res}  0.4582
{txt}Total (centered) SS     = {res} 33.81703667{txt}{col 55}Centered R2   = {res}  0.8219
{txt}Total (uncentered) SS   = {res} 33.81703667{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res}  34.4387388{txt}{col 55}Root MSE      = {res}   .1836

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}         envOrd_job{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      t{col 53}   P>|t|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncount_turbine {c |}{col 21}{res}{space 2}-.0326069{col 33}{space 2} .0438942{col 44}{space 1}   -0.74{col 53}{space 3}0.458{col 61}{space 4}-.1190035{col 74}{space 3} .0537898
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  28.563
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0000
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71}  59.052
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  25.880
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_lncount_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 20}{c TT}{hline 49}{c TRC}
        Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 20}{c +}{hline 49}{c RT}
    stateyear_fixed {c |}          125             125              0     {c |} 
     district_fixed {c |}            0             287            287 *   {c |} 
{hline 20}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
gwOrd
capacity
{err}(running historical version of reghdfe)
{res}{txt}(converged in 4 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_capacity_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     17.56
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.8387
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7837
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1240
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}  119.8949

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_capaci~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 48.63684{col 26}{space 2} 11.60661{col 37}{space 1}    4.19{col 46}{space 3}0.000{col 54}{space 4} 25.79163{col 67}{space 3} 71.48205
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          150             150              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      1.68
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.1956
{txt}{col 51}R-squared{col 67}= {res}    0.7055
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6052
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0007
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.2111

{txt}{ralign 86:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}       gwOrd_opinion{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2}-.0000434{col 34}{space 2} .0000335{col 45}{space 1}   -1.30{col 54}{space 3}0.196{col 62}{space 4}-.0001093{col 75}{space 3} .0000225
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}          150             150              0     {c |} 
      district_fixed {c |}            0             287            287 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.00
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.9524
{txt}{col 51}R-squared{col 67}= {res}    0.7053
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6049
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0000
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.2111

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}gwOrd_opin~n{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .0004523{col 26}{space 2} .0075714{col 37}{space 1}    0.06{col 46}{space 3}0.952{col 54}{space 4}-.0144504{col 67}{space 3}  .015355
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          150             150              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_capacity{col 14}{txt}|{col 18}{res}   17.56{col 28}  0.0000{col 37}{txt}|{col 42}{res}   19.30{col 51}  0.0000{col 60}{txt}|{col 65}{res}   17.56

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}14.23  {col 61}{txt}P-val={res}0.0002

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}  222.30
Kleibergen-Paap Wald rk F statistic{col 65}   17.56

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.00{col 61}{txt}P-val={res}0.9524
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.00{col 61}{txt}P-val={res}0.9501
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.00{col 61}{txt}P-val={res}0.9501

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      1721
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    1721
{txt}{col 55}F(  1,   286) = {res}    0.00
{txt}{col 55}Prob > F      = {res}  0.9525
{txt}Total (centered) SS     = {res}  57.1922783{txt}{col 55}Centered R2   = {res}  0.7052
{txt}Total (uncentered) SS   = {res}  57.1922783{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res}  57.2111004{txt}{col 55}Root MSE      = {res}   .2112

{txt}{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}       gwOrd_opinion{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2} 9.30e-06{col 34}{space 2} .0001559{col 45}{space 1}    0.06{col 54}{space 3}0.952{col 62}{space 4}-.0002975{col 75}{space 3} .0003161
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  14.225
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0002
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71} 222.297
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  17.560
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_capacity_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}          150             150              0     {c |} 
      district_fixed {c |}            0             287            287 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
count
{err}(running historical version of reghdfe)
{res}{txt}(converged in 4 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_count_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     17.78
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.9829
{txt}{col 51}Adj R-squared{col 67}= {res}    0.9771
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1303
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}   64.3022

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_count_~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 26.83101{col 26}{space 2} 6.363149{col 37}{space 1}    4.22{col 46}{space 3}0.000{col 54}{space 4} 14.30647{col 67}{space 3} 39.35555
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          150             150              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      1.48
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.2252
{txt}{col 51}R-squared{col 67}= {res}    0.7055
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6052
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0007
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.2111

{txt}{ralign 83:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}    gwOrd_opinion{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2}-.0000811{col 31}{space 2} .0000668{col 42}{space 1}   -1.22{col 51}{space 3}0.225{col 59}{space 4}-.0002125{col 72}{space 3} .0000503
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}          150             150              0     {c |} 
   district_fixed {c |}            0             287            287 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.00
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.9524
{txt}{col 51}R-squared{col 67}= {res}    0.7053
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6049
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0000
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.2111

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}gwOrd_opin~n{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .0004523{col 26}{space 2} .0075714{col 37}{space 1}    0.06{col 46}{space 3}0.952{col 54}{space 4}-.0144504{col 67}{space 3}  .015355
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          150             150              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_count_tu{col 14}{txt}|{col 18}{res}   17.78{col 28}  0.0000{col 37}{txt}|{col 42}{res}   19.55{col 51}  0.0000{col 60}{txt}|{col 65}{res}   17.78

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}14.28  {col 61}{txt}P-val={res}0.0002

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}  235.19
Kleibergen-Paap Wald rk F statistic{col 65}   17.78

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.00{col 61}{txt}P-val={res}0.9524
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.00{col 61}{txt}P-val={res}0.9501
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.00{col 61}{txt}P-val={res}0.9501

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      1721
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    1721
{txt}{col 55}F(  1,   286) = {res}    0.00
{txt}{col 55}Prob > F      = {res}  0.9525
{txt}Total (centered) SS     = {res}  57.1922783{txt}{col 55}Centered R2   = {res}  0.7052
{txt}Total (uncentered) SS   = {res}  57.1922783{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 57.21069882{txt}{col 55}Root MSE      = {res}   .2112

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}    gwOrd_opinion{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2} .0000169{col 31}{space 2} .0002825{col 42}{space 1}    0.06{col 51}{space 3}0.952{col 59}{space 4}-.0005392{col 72}{space 3} .0005729
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  14.285
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0002
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71} 235.194
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  17.780
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_count_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}          150             150              0     {c |} 
   district_fixed {c |}            0             287            287 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
lncapacity
{err}(running historical version of reghdfe)
{res}{txt}(converged in 4 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_lncapacity_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     24.77
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.8994
{txt}{col 51}Adj R-squared{col 67}= {res}    0.8651
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0383
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.7194

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_lncapa~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .1548076{col 26}{space 2} .0311079{col 37}{space 1}    4.98{col 46}{space 3}0.000{col 54}{space 4} .0935782{col 67}{space 3} .2160369
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          150             150              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.79
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.3738
{txt}{col 51}R-squared{col 67}= {res}    0.7054
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6051
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0005
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.2111

{txt}{ralign 88:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}         gwOrd_opinion{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncapacity_turbine {c |}{col 24}{res}{space 2}-.0066585{col 36}{space 2} .0074748{col 47}{space 1}   -0.89{col 56}{space 3}0.374{col 64}{space 4}-.0213712{col 77}{space 3} .0080541
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 23}{c TT}{hline 49}{c TRC}
           Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 23}{c +}{hline 49}{c RT}
       stateyear_fixed {c |}          150             150              0     {c |} 
        district_fixed {c |}            0             287            287 *   {c |} 
{hline 23}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.00
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.9524
{txt}{col 51}R-squared{col 67}= {res}    0.7053
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6049
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0000
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.2111

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}gwOrd_opin~n{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .0004523{col 26}{space 2} .0075714{col 37}{space 1}    0.06{col 46}{space 3}0.952{col 54}{space 4}-.0144504{col 67}{space 3}  .015355
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          150             150              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_lncapaci{col 14}{txt}|{col 18}{res}   24.77{col 28}  0.0000{col 37}{txt}|{col 42}{res}   27.23{col 51}  0.0000{col 60}{txt}|{col 65}{res}   24.77

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}27.49  {col 61}{txt}P-val={res}0.0000

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}   62.55
Kleibergen-Paap Wald rk F statistic{col 65}   24.77

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.00{col 61}{txt}P-val={res}0.9524
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.00{col 61}{txt}P-val={res}0.9501
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.00{col 61}{txt}P-val={res}0.9501

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      1721
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    1721
{txt}{col 55}F(  1,   286) = {res}    0.00
{txt}{col 55}Prob > F      = {res}  0.9526
{txt}Total (centered) SS     = {res}  57.1922783{txt}{col 55}Centered R2   = {res}  0.7051
{txt}Total (uncentered) SS   = {res}  57.1922783{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res}  57.2250409{txt}{col 55}Root MSE      = {res}   .2112

{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}         gwOrd_opinion{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncapacity_turbine {c |}{col 24}{res}{space 2} .0029219{col 36}{space 2} .0490701{col 47}{space 1}    0.06{col 56}{space 3}0.953{col 64}{space 4}-.0936625{col 77}{space 3} .0995063
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  27.486
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0000
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71}  62.549
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  24.765
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_lncapacity_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 23}{c TT}{hline 49}{c TRC}
           Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 23}{c +}{hline 49}{c RT}
       stateyear_fixed {c |}          150             150              0     {c |} 
        district_fixed {c |}            0             287            287 *   {c |} 
{hline 23}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
lncount
{err}(running historical version of reghdfe)
{res}{txt}(converged in 4 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_lncount_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     25.29
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.9237
{txt}{col 51}Adj R-squared{col 67}= {res}    0.8978
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0404
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.6217

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_lncoun~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .1376013{col 26}{space 2} .0273607{col 37}{space 1}    5.03{col 46}{space 3}0.000{col 54}{space 4} .0837474{col 67}{space 3} .1914551
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          150             150              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.98
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.3222
{txt}{col 51}R-squared{col 67}= {res}    0.7055
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6052
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0007
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.2111

{txt}{ralign 85:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}      gwOrd_opinion{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      t{col 53}   P>|t|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncount_turbine {c |}{col 21}{res}{space 2}-.0086636{col 33}{space 2} .0087371{col 44}{space 1}   -0.99{col 53}{space 3}0.322{col 61}{space 4}-.0258607{col 74}{space 3} .0085336
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 20}{c TT}{hline 49}{c TRC}
        Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 20}{c +}{hline 49}{c RT}
    stateyear_fixed {c |}          150             150              0     {c |} 
     district_fixed {c |}            0             287            287 *   {c |} 
{hline 20}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,721
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.00
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.9524
{txt}{col 51}R-squared{col 67}= {res}    0.7053
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6049
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0000
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.2111

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}gwOrd_opin~n{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .0004523{col 26}{space 2} .0075714{col 37}{space 1}    0.06{col 46}{space 3}0.952{col 54}{space 4}-.0144504{col 67}{space 3}  .015355
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          150             150              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_lncount_{col 14}{txt}|{col 18}{res}   25.29{col 28}  0.0000{col 37}{txt}|{col 42}{res}   27.81{col 51}  0.0000{col 60}{txt}|{col 65}{res}   25.29

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}27.90  {col 61}{txt}P-val={res}0.0000

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}   66.18
Kleibergen-Paap Wald rk F statistic{col 65}   25.29

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.00{col 61}{txt}P-val={res}0.9524
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.00{col 61}{txt}P-val={res}0.9501
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.00{col 61}{txt}P-val={res}0.9501

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      1721
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    1721
{txt}{col 55}F(  1,   286) = {res}    0.00
{txt}{col 55}Prob > F      = {res}  0.9526
{txt}Total (centered) SS     = {res}  57.1922783{txt}{col 55}Centered R2   = {res}  0.7051
{txt}Total (uncentered) SS   = {res}  57.1922783{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 57.22729735{txt}{col 55}Root MSE      = {res}   .2112

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}      gwOrd_opinion{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      t{col 53}   P>|t|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncount_turbine {c |}{col 21}{res}{space 2} .0032872{col 33}{space 2} .0552032{col 44}{space 1}    0.06{col 53}{space 3}0.953{col 61}{space 4}-.1053689{col 74}{space 3} .1119434
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  27.898
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0000
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71}  66.176
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  25.292
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_lncount_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 20}{c TT}{hline 49}{c TRC}
        Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 20}{c +}{hline 49}{c RT}
    stateyear_fixed {c |}          150             150              0     {c |} 
     district_fixed {c |}            0             287            287 *   {c |} 
{hline 20}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
libOrd
capacity
{err}(running historical version of reghdfe)
{res}{txt}(converged in 3 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_capacity_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     17.63
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.8381
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7898
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1227
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}  112.9559

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_capaci~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 48.91301{col 26}{space 2}  11.6498{col 37}{space 1}    4.20{col 46}{space 3}0.000{col 54}{space 4}  25.9828{col 67}{space 3} 71.84323
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          175             175              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.80
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.3725
{txt}{col 51}R-squared{col 67}= {res}    0.7551
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6819
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0003
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.1746

{txt}{ralign 86:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}         libOrd_ideo{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2}-.0000263{col 34}{space 2} .0000294{col 45}{space 1}   -0.89{col 54}{space 3}0.373{col 62}{space 4}-.0000842{col 75}{space 3} .0000316
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}          175             175              0     {c |} 
      district_fixed {c |}            0             287            287 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.01
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.9094
{txt}{col 51}R-squared{col 67}= {res}    0.7550
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6818
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0000
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.1747

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1} libOrd_ideo{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2}-.0005819{col 26}{space 2} .0051086{col 37}{space 1}   -0.11{col 46}{space 3}0.909{col 54}{space 4} -.010637{col 67}{space 3} .0094733
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          175             175              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_capacity{col 14}{txt}|{col 18}{res}   17.63{col 28}  0.0000{col 37}{txt}|{col 42}{res}   19.38{col 51}  0.0000{col 60}{txt}|{col 65}{res}   17.63

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}14.32  {col 61}{txt}P-val={res}0.0002

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}  256.40
Kleibergen-Paap Wald rk F statistic{col 65}   17.63

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.01{col 61}{txt}P-val={res}0.9094
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.01{col 61}{txt}P-val={res}0.9049
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.01{col 61}{txt}P-val={res}0.9050

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      2009
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    2009
{txt}{col 55}F(  1,   286) = {res}    0.01
{txt}{col 55}Prob > F      = {res}  0.9094
{txt}Total (centered) SS     = {res} 47.15979834{txt}{col 55}Centered R2   = {res}  0.7551
{txt}Total (uncentered) SS   = {res} 47.15979834{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 47.14892653{txt}{col 55}Root MSE      = {res}   .1746

{txt}{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}         libOrd_ideo{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2}-.0000119{col 34}{space 2} .0001045{col 45}{space 1}   -0.11{col 54}{space 3}0.909{col 62}{space 4}-.0002176{col 75}{space 3} .0001938
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  14.321
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0002
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71} 256.396
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  17.628
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_capacity_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}          175             175              0     {c |} 
      district_fixed {c |}            0             287            287 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
count
{err}(running historical version of reghdfe)
{res}{txt}(converged in 3 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_count_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     17.98
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.9841
{txt}{col 51}Adj R-squared{col 67}= {res}    0.9794
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1287
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}   60.4102

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_count_~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 26.88612{col 26}{space 2} 6.340935{col 37}{space 1}    4.24{col 46}{space 3}0.000{col 54}{space 4}  14.4053{col 67}{space 3} 39.36694
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          175             175              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.45
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.5006
{txt}{col 51}R-squared{col 67}= {res}    0.7551
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6819
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0002
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.1746

{txt}{ralign 83:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}      libOrd_ideo{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2}-.0000382{col 31}{space 2} .0000566{col 42}{space 1}   -0.67{col 51}{space 3}0.501{col 59}{space 4}-.0001495{col 72}{space 3} .0000732
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}          175             175              0     {c |} 
   district_fixed {c |}            0             287            287 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.01
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.9094
{txt}{col 51}R-squared{col 67}= {res}    0.7550
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6818
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0000
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.1747

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1} libOrd_ideo{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2}-.0005819{col 26}{space 2} .0051086{col 37}{space 1}   -0.11{col 46}{space 3}0.909{col 54}{space 4} -.010637{col 67}{space 3} .0094733
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          175             175              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_count_tu{col 14}{txt}|{col 18}{res}   17.98{col 28}  0.0000{col 37}{txt}|{col 42}{res}   19.76{col 51}  0.0000{col 60}{txt}|{col 65}{res}   17.98

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}14.47  {col 61}{txt}P-val={res}0.0001

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}  270.84
Kleibergen-Paap Wald rk F statistic{col 65}   17.98

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.01{col 61}{txt}P-val={res}0.9094
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.01{col 61}{txt}P-val={res}0.9049
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.01{col 61}{txt}P-val={res}0.9050

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      2009
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    2009
{txt}{col 55}F(  1,   286) = {res}    0.01
{txt}{col 55}Prob > F      = {res}  0.9094
{txt}Total (centered) SS     = {res} 47.15979834{txt}{col 55}Centered R2   = {res}  0.7551
{txt}Total (uncentered) SS   = {res} 47.15979834{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 47.15213632{txt}{col 55}Root MSE      = {res}   .1746

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}      libOrd_ideo{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2}-.0000216{col 31}{space 2} .0001901{col 42}{space 1}   -0.11{col 51}{space 3}0.909{col 59}{space 4}-.0003958{col 72}{space 3} .0003525
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  14.472
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0001
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71} 270.841
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  17.978
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_count_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}          175             175              0     {c |} 
   district_fixed {c |}            0             287            287 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
lncapacity
{err}(running historical version of reghdfe)
{res}{txt}(converged in 3 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_lncapacity_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     25.20
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.9023
{txt}{col 51}Adj R-squared{col 67}= {res}    0.8731
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0362
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.6890

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_lncapa~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .1545916{col 26}{space 2} .0307952{col 37}{space 1}    5.02{col 46}{space 3}0.000{col 54}{space 4} .0939776{col 67}{space 3} .2152056
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          175             175              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.56
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.4533
{txt}{col 51}R-squared{col 67}= {res}    0.7551
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6819
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0003
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.1746

{txt}{ralign 88:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}           libOrd_ideo{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncapacity_turbine {c |}{col 24}{res}{space 2}  .004147{col 36}{space 2} .0055218{col 47}{space 1}    0.75{col 56}{space 3}0.453{col 64}{space 4}-.0067216{col 77}{space 3} .0150155
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 23}{c TT}{hline 49}{c TRC}
           Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 23}{c +}{hline 49}{c RT}
       stateyear_fixed {c |}          175             175              0     {c |} 
        district_fixed {c |}            0             287            287 *   {c |} 
{hline 23}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.01
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.9094
{txt}{col 51}R-squared{col 67}= {res}    0.7550
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6818
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0000
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.1747

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1} libOrd_ideo{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2}-.0005819{col 26}{space 2} .0051086{col 37}{space 1}   -0.11{col 46}{space 3}0.909{col 54}{space 4} -.010637{col 67}{space 3} .0094733
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          175             175              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_lncapaci{col 14}{txt}|{col 18}{res}   25.20{col 28}  0.0000{col 37}{txt}|{col 42}{res}   27.70{col 51}  0.0000{col 60}{txt}|{col 65}{res}   25.20

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}28.16  {col 61}{txt}P-val={res}0.0000

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}   68.84
Kleibergen-Paap Wald rk F statistic{col 65}   25.20

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.01{col 61}{txt}P-val={res}0.9094
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.01{col 61}{txt}P-val={res}0.9049
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.01{col 61}{txt}P-val={res}0.9050

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      2009
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    2009
{txt}{col 55}F(  1,   286) = {res}    0.01
{txt}{col 55}Prob > F      = {res}  0.9093
{txt}Total (centered) SS     = {res} 47.15979834{txt}{col 55}Centered R2   = {res}  0.7548
{txt}Total (uncentered) SS   = {res} 47.15979834{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res}  47.1943537{txt}{col 55}Root MSE      = {res}   .1747

{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}           libOrd_ideo{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncapacity_turbine {c |}{col 24}{res}{space 2}-.0037638{col 36}{space 2} .0330192{col 47}{space 1}   -0.11{col 56}{space 3}0.909{col 64}{space 4}-.0687552{col 77}{space 3} .0612275
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  28.156
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0000
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71}  68.842
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  25.200
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_lncapacity_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 23}{c TT}{hline 49}{c TRC}
           Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 23}{c +}{hline 49}{c RT}
       stateyear_fixed {c |}          175             175              0     {c |} 
        district_fixed {c |}            0             287            287 *   {c |} 
{hline 23}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
lncount
{err}(running historical version of reghdfe)
{res}{txt}(converged in 3 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_lncount_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     25.59
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.9261
{txt}{col 51}Adj R-squared{col 67}= {res}    0.9041
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0384
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.5966

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_lncoun~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .1380481{col 26}{space 2} .0272918{col 37}{space 1}    5.06{col 46}{space 3}0.000{col 54}{space 4} .0843298{col 67}{space 3} .1917665
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          175             175              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      1.50
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.2223
{txt}{col 51}R-squared{col 67}= {res}    0.7552
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6820
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0007
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.1746

{txt}{ralign 85:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}        libOrd_ideo{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      t{col 53}   P>|t|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncount_turbine {c |}{col 21}{res}{space 2}  .007854{col 33}{space 2} .0064212{col 44}{space 1}    1.22{col 53}{space 3}0.222{col 61}{space 4}-.0047847{col 74}{space 3} .0204928
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 20}{c TT}{hline 49}{c TRC}
        Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 20}{c +}{hline 49}{c RT}
    stateyear_fixed {c |}          175             175              0     {c |} 
     district_fixed {c |}            0             287            287 *   {c |} 
{hline 20}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.01
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.9094
{txt}{col 51}R-squared{col 67}= {res}    0.7550
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6818
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0000
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.1747

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1} libOrd_ideo{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2}-.0005819{col 26}{space 2} .0051086{col 37}{space 1}   -0.11{col 46}{space 3}0.909{col 54}{space 4} -.010637{col 67}{space 3} .0094733
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          175             175              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_lncount_{col 14}{txt}|{col 18}{res}   25.59{col 28}  0.0000{col 37}{txt}|{col 42}{res}   28.13{col 51}  0.0000{col 60}{txt}|{col 65}{res}   25.59

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}28.46  {col 61}{txt}P-val={res}0.0000

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}   73.21
Kleibergen-Paap Wald rk F statistic{col 65}   25.59

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.01{col 61}{txt}P-val={res}0.9094
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.01{col 61}{txt}P-val={res}0.9049
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.01{col 61}{txt}P-val={res}0.9050

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      2009
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    2009
{txt}{col 55}F(  1,   286) = {res}    0.01
{txt}{col 55}Prob > F      = {res}  0.9094
{txt}Total (centered) SS     = {res} 47.15979834{txt}{col 55}Centered R2   = {res}  0.7548
{txt}Total (uncentered) SS   = {res} 47.15979834{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 47.20785349{txt}{col 55}Root MSE      = {res}   .1747

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}        libOrd_ideo{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      t{col 53}   P>|t|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncount_turbine {c |}{col 21}{res}{space 2}-.0042149{col 33}{space 2} .0369911{col 44}{space 1}   -0.11{col 53}{space 3}0.909{col 61}{space 4}-.0770242{col 74}{space 3} .0685944
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  28.455
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0000
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71}  73.208
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  25.586
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_lncount_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 20}{c TT}{hline 49}{c TRC}
        Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 20}{c +}{hline 49}{c RT}
    stateyear_fixed {c |}          175             175              0     {c |} 
     district_fixed {c |}            0             287            287 *   {c |} 
{hline 20}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
lib
capacity
{err}(running historical version of reghdfe)
{res}{txt}(converged in 3 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_capacity_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     17.63
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.8381
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7898
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1227
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}  112.9559

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_capaci~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 48.91301{col 26}{space 2}  11.6498{col 37}{space 1}    4.20{col 46}{space 3}0.000{col 54}{space 4}  25.9828{col 67}{space 3} 71.84323
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          175             175              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.02
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.9007
{txt}{col 51}R-squared{col 67}= {res}    0.6999
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6102
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0000
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0670

{txt}{ralign 86:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}            lib_ideo{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2}-1.64e-06{col 34}{space 2} .0000131{col 45}{space 1}   -0.12{col 54}{space 3}0.901{col 62}{space 4}-.0000275{col 75}{space 3} .0000242
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}          175             175              0     {c |} 
      district_fixed {c |}            0             287            287 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.14
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.7111
{txt}{col 51}R-squared{col 67}= {res}    0.6999
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6102
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0001
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0670

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    lib_ideo{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .0007482{col 26}{space 2} .0020183{col 37}{space 1}    0.37{col 46}{space 3}0.711{col 54}{space 4}-.0032245{col 67}{space 3} .0047208
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          175             175              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_capacity{col 14}{txt}|{col 18}{res}   17.63{col 28}  0.0000{col 37}{txt}|{col 42}{res}   19.38{col 51}  0.0000{col 60}{txt}|{col 65}{res}   17.63

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}14.32  {col 61}{txt}P-val={res}0.0002

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}  256.40
Kleibergen-Paap Wald rk F statistic{col 65}   17.63

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.14{col 61}{txt}P-val={res}0.7111
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.15{col 61}{txt}P-val={res}0.6975
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.15{col 61}{txt}P-val={res}0.6964

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      2009
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    2009
{txt}{col 55}F(  1,   286) = {res}    0.14
{txt}{col 55}Prob > F      = {res}  0.7122
{txt}Total (centered) SS     = {res} 6.944058419{txt}{col 55}Centered R2   = {res}  0.6996
{txt}Total (uncentered) SS   = {res} 6.944058419{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 6.950446434{txt}{col 55}Root MSE      = {res}  .06705

{txt}{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}            lib_ideo{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2} .0000153{col 34}{space 2} .0000414{col 45}{space 1}    0.37{col 54}{space 3}0.712{col 62}{space 4}-.0000662{col 75}{space 3} .0000968
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  14.321
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0002
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71} 256.396
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  17.628
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_capacity_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}          175             175              0     {c |} 
      district_fixed {c |}            0             287            287 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
count
{err}(running historical version of reghdfe)
{res}{txt}(converged in 3 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_count_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     17.98
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.9841
{txt}{col 51}Adj R-squared{col 67}= {res}    0.9794
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1287
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}   60.4102

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_count_~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 26.88612{col 26}{space 2} 6.340935{col 37}{space 1}    4.24{col 46}{space 3}0.000{col 54}{space 4}  14.4053{col 67}{space 3} 39.36694
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          175             175              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.01
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.9331
{txt}{col 51}R-squared{col 67}= {res}    0.6999
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6102
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0000
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0670

{txt}{ralign 83:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}         lib_ideo{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2} 2.14e-06{col 31}{space 2} .0000255{col 42}{space 1}    0.08{col 51}{space 3}0.933{col 59}{space 4} -.000048{col 72}{space 3} .0000522
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}          175             175              0     {c |} 
   district_fixed {c |}            0             287            287 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.14
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.7111
{txt}{col 51}R-squared{col 67}= {res}    0.6999
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6102
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0001
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0670

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    lib_ideo{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .0007482{col 26}{space 2} .0020183{col 37}{space 1}    0.37{col 46}{space 3}0.711{col 54}{space 4}-.0032245{col 67}{space 3} .0047208
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          175             175              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_count_tu{col 14}{txt}|{col 18}{res}   17.98{col 28}  0.0000{col 37}{txt}|{col 42}{res}   19.76{col 51}  0.0000{col 60}{txt}|{col 65}{res}   17.98

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}14.47  {col 61}{txt}P-val={res}0.0001

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}  270.84
Kleibergen-Paap Wald rk F statistic{col 65}   17.98

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.14{col 61}{txt}P-val={res}0.7111
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.15{col 61}{txt}P-val={res}0.6975
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.15{col 61}{txt}P-val={res}0.6964

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      2009
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    2009
{txt}{col 55}F(  1,   286) = {res}    0.14
{txt}{col 55}Prob > F      = {res}  0.7123
{txt}Total (centered) SS     = {res} 6.944058419{txt}{col 55}Centered R2   = {res}  0.6997
{txt}Total (uncentered) SS   = {res} 6.944058419{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 6.948301976{txt}{col 55}Root MSE      = {res}  .06704

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}         lib_ideo{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2} .0000278{col 31}{space 2} .0000754{col 42}{space 1}    0.37{col 51}{space 3}0.712{col 59}{space 4}-.0001205{col 72}{space 3} .0001762
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  14.472
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0001
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71} 270.841
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  17.978
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_count_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}          175             175              0     {c |} 
   district_fixed {c |}            0             287            287 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
lncapacity
{err}(running historical version of reghdfe)
{res}{txt}(converged in 3 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_lncapacity_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     25.20
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.9023
{txt}{col 51}Adj R-squared{col 67}= {res}    0.8731
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0362
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.6890

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_lncapa~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .1545916{col 26}{space 2} .0307952{col 37}{space 1}    5.02{col 46}{space 3}0.000{col 54}{space 4} .0939776{col 67}{space 3} .2152056
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          175             175              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.31
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.5796
{txt}{col 51}R-squared{col 67}= {res}    0.6999
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6102
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0001
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0670

{txt}{ralign 88:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}              lib_ideo{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncapacity_turbine {c |}{col 24}{res}{space 2}  .001111{col 36}{space 2} .0020033{col 47}{space 1}    0.55{col 56}{space 3}0.580{col 64}{space 4}-.0028322{col 77}{space 3} .0050542
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 23}{c TT}{hline 49}{c TRC}
           Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 23}{c +}{hline 49}{c RT}
       stateyear_fixed {c |}          175             175              0     {c |} 
        district_fixed {c |}            0             287            287 *   {c |} 
{hline 23}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.14
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.7111
{txt}{col 51}R-squared{col 67}= {res}    0.6999
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6102
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0001
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0670

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    lib_ideo{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .0007482{col 26}{space 2} .0020183{col 37}{space 1}    0.37{col 46}{space 3}0.711{col 54}{space 4}-.0032245{col 67}{space 3} .0047208
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          175             175              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_lncapaci{col 14}{txt}|{col 18}{res}   25.20{col 28}  0.0000{col 37}{txt}|{col 42}{res}   27.70{col 51}  0.0000{col 60}{txt}|{col 65}{res}   25.20

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}28.16  {col 61}{txt}P-val={res}0.0000

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}   68.84
Kleibergen-Paap Wald rk F statistic{col 65}   25.20

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.14{col 61}{txt}P-val={res}0.7111
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.15{col 61}{txt}P-val={res}0.6975
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.15{col 61}{txt}P-val={res}0.6964

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      2009
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    2009
{txt}{col 55}F(  1,   286) = {res}    0.14
{txt}{col 55}Prob > F      = {res}  0.7129
{txt}Total (centered) SS     = {res} 6.944058419{txt}{col 55}Centered R2   = {res}  0.6994
{txt}Total (uncentered) SS   = {res} 6.944058419{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res}  6.95370522{txt}{col 55}Root MSE      = {res}  .06707

{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}              lib_ideo{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncapacity_turbine {c |}{col 24}{res}{space 2} .0048398{col 36}{space 2} .0131402{col 47}{space 1}    0.37{col 56}{space 3}0.713{col 64}{space 4} -.021024{col 77}{space 3} .0307036
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  28.156
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0000
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71}  68.842
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  25.200
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_lncapacity_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 23}{c TT}{hline 49}{c TRC}
           Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 23}{c +}{hline 49}{c RT}
       stateyear_fixed {c |}          175             175              0     {c |} 
        district_fixed {c |}            0             287            287 *   {c |} 
{hline 23}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
lncount
{err}(running historical version of reghdfe)
{res}{txt}(converged in 3 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_lncount_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}     25.59
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0000
{txt}{col 51}R-squared{col 67}= {res}    0.9261
{txt}{col 51}Adj R-squared{col 67}= {res}    0.9041
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0384
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.5966

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_lncoun~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .1380481{col 26}{space 2} .0272918{col 37}{space 1}    5.06{col 46}{space 3}0.000{col 54}{space 4} .0843298{col 67}{space 3} .1917665
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          175             175              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      1.09
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.2968
{txt}{col 51}R-squared{col 67}= {res}    0.7000
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6104
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0005
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0670

{txt}{ralign 85:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}           lib_ideo{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      t{col 53}   P>|t|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncount_turbine {c |}{col 21}{res}{space 2} .0024113{col 33}{space 2} .0023072{col 44}{space 1}    1.05{col 53}{space 3}0.297{col 61}{space 4}-.0021299{col 74}{space 3} .0069524
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 20}{c TT}{hline 49}{c TRC}
        Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 20}{c +}{hline 49}{c RT}
    stateyear_fixed {c |}          175             175              0     {c |} 
     district_fixed {c |}            0             287            287 *   {c |} 
{hline 20}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     2,009
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    286{txt}){col 67}= {res}      0.14
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.7111
{txt}{col 51}R-squared{col 67}= {res}    0.6999
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6102
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0001
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       287{txt}{col 51}Root MSE{col 67}= {res}    0.0670

{txt}{ralign 78:(Std. Err. adjusted for {res:287} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    lib_ideo{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .0007482{col 26}{space 2} .0020183{col 37}{space 1}    0.37{col 46}{space 3}0.711{col 54}{space 4}-.0032245{col 67}{space 3} .0047208
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          175             175              0     {c |} 
 district_fixed {c |}            0             287            287 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   286{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   286{txt})
{res}cum_lncount_{col 14}{txt}|{col 18}{res}   25.59{col 28}  0.0000{col 37}{txt}|{col 42}{res}   28.13{col 51}  0.0000{col 60}{txt}|{col 65}{res}   25.59

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}28.46  {col 61}{txt}P-val={res}0.0000

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}   73.21
Kleibergen-Paap Wald rk F statistic{col 65}   25.59

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}286{txt})={col 49}{res}   0.14{col 61}{txt}P-val={res}0.7111
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.15{col 61}{txt}P-val={res}0.6975
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   0.15{col 61}{txt}P-val={res}0.6964

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       287
{txt}Number of observations               N  = {res}      2009
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   287{txt}{col 55}Number of obs = {res}    2009
{txt}{col 55}F(  1,   286) = {res}    0.14
{txt}{col 55}Prob > F      = {res}  0.7125
{txt}Total (centered) SS     = {res} 6.944058419{txt}{col 55}Centered R2   = {res}  0.6998
{txt}Total (uncentered) SS   = {res} 6.944058419{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 6.945910758{txt}{col 55}Root MSE      = {res}  .06703

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}           lib_ideo{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      t{col 53}   P>|t|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_lncount_turbine {c |}{col 21}{res}{space 2} .0054198{col 33}{space 2} .0146909{col 44}{space 1}    0.37{col 53}{space 3}0.712{col 61}{space 4}-.0234962{col 74}{space 3} .0343358
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  28.455
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0000
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71}  73.208
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  25.586
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_lncount_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 20}{c TT}{hline 49}{c TRC}
        Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 20}{c +}{hline 49}{c RT}
    stateyear_fixed {c |}          175             175              0     {c |} 
     district_fixed {c |}            0             287            287 *   {c |} 
{hline 20}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)

{com}. 
. *--------------------- Export LaTeX regression tables -----------------------*
. cd "$rootDir/$resultDir/Tables"
{res}/Users/AliceZhang/Dropbox/Research_Columbia/Renewables Voting (Urpelainen Zhang)/JOP/UZ_JOP2021_Replication/Results/Tables
{txt}
{com}.                 
. ** Combined
. esttab env_lncapacity_iv env_lncount_iv gw_lncapacity_iv gw_lncount_iv using TableA22.tex, booktabs replace ///
>                 refcat(cum_lncapacity_turbine "\emph{c -(}Panel A: Dummy Dependent Var{c )-}", nolabel) ///
>                 b(%9.3f) se noconstant noobs nonotes star(* 0.10 ** 0.05 *** 0.01) ///
>                 stats(N N_clust r2, labels("Observations" "Districts" "\(R^{c -(}2{c )-}\)") fmt(0 0 2)) /// 
>                 varlabels(cum_lncapacity_turbine "log(Cumulative capacity+1)" cum_lncount_turbine "log(Cumulative count+1)") varwidth(20) modelwidth(10) ///
>                 mtitles("Model" "Model" "Model" "Model") ///
>                 mgroups("Environment v. Job" "Global Warming", pattern(1 0 1 0) prefix(\multicolumn{c -(}@span{c )-}{c -(}c{c )-}{c -(}) suffix({c )-}) span erepeat(\cmidrule(lr){c -(}@span{c )-})) ///
>                 width(\hsize)
{res}{txt}(output written to {browse  `"TableA22.tex"'})

{com}.                 
. esttab envOrd_lncapacity_iv envOrd_lncount_iv gwOrd_lncapacity_iv gwOrd_lncount_iv using TableA22.tex, booktabs append ///
>                 refcat(cum_lncapacity_turbine "\emph{c -(}Panel B: Ordinal Dependent Var{c )-}", nolabel) ///
>                 nomtitles se noconstant nonotes legend nonumbers collabels(none) star(* 0.10 ** 0.05 *** 0.01) ///
>                 b(%9.3f) stats(N N_clust r2, labels("Observations" "Districts" "\(R^{c -(}2{c )-}\)") fmt(0 0 2)) ///
>                 varlabels(cum_lncapacity_turbine "log(Cumulative capacity+1)" cum_lncount_turbine "log(Cumulative count+1)") varwidth(20) modelwidth(10) ///
>                 width(\hsize)
{res}{txt}(output written to {browse  `"TableA22.tex"'})

{com}. 
. *******************************************************************************
. /*                                              TABLE A7                                                             */
. *******************************************************************************
. 
. ** Ideology
. // Reduced Form
. esttab lib_lncapacity_reduced lib_lncount_reduced libOrd_lncapacity_reduced libOrd_lncount_reduced using TableA7.tex, booktabs replace /// 
>                 refcat(inter "\emph{c -(}Panel A: Reduced Form{c )-}", nolabel) ///
>                 b(%9.3f) se noconstant noobs nonotes star(* 0.10 ** 0.05 *** 0.01) ///
>                 varlabels(inter "Mean wind potential * time") varwidth(20) modelwidth(10) ///
>                 mtitles("Model" "Model" "Model" "Model") ///
>                 mgroups("Liberal (\%)" "Ideology (5-Point Scale)", pattern(1 0 1 0) prefix(\multicolumn{c -(}@span{c )-}{c -(}c{c )-}{c -(}) suffix({c )-}) span erepeat(\cmidrule(lr){c -(}@span{c )-})) ///
>                 width(\hsize)
{res}{txt}(output written to {browse  `"TableA7.tex"'})

{com}.                 
. // OLS
. esttab lib_lncapacity_ols lib_lncount_ols libOrd_lncapacity_ols libOrd_lncount_ols using TableA7.tex, booktabs append /// 
>                 refcat(cum_lncapacity_turbine "\emph{c -(}Panel B: OLS{c )-}", nolabel) ///
>                 b(%9.3f) nomtitles se noconstant noobs nonotes nonumbers collabels(none) star(* 0.10 ** 0.05 *** 0.01) ///
>                 varlabels(cum_lncapacity_turbine "log(Cumulative capacity+1)" cum_lncount_turbine "log(Cumulative count+1)") varwidth(20) modelwidth(10) ///
>                 width(\hsize)
{res}{txt}(output written to {browse  `"TableA7.tex"'})

{com}. 
. // IV
. esttab lib_lncapacity_iv lib_lncount_iv libOrd_lncapacity_iv libOrd_lncount_iv using TableA7.tex, booktabs append ///
>                 refcat(cum_lncapacity_turbine "\emph{c -(}Panel C: IV{c )-}", nolabel) /// 
>             nomtitles se noconstant nonotes legend nonumbers collabels(none) star(* 0.10 ** 0.05 *** 0.01) ///
>                 b(%9.3f) stats(N N_clust, labels("Observations" "Districts") fmt(0 0)) /// 
>                 varlabels(cum_lncapacity_turbine "log(Cumulative capacity+1)" cum_lncount_turbine "log(Cumulative count+1)") varwidth(20) modelwidth(10) ///
>                 width(\hsize)
{res}{txt}(output written to {browse  `"TableA7.tex"'})

{com}. 
.                 
. ** Close log file
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/AliceZhang/Dropbox/Research_Columbia/Renewables Voting (Urpelainen Zhang)/JOP/UZ_JOP2021_Replication/Analysis/logSTATA/009_analysis_CCES.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 6 Nov 2021, 20:34:18
{txt}{.-}
{smcl}
{txt}{sf}{ul off}